package Message.Game
{
    import Framework.Serialize.*;

    public class SPanicBuyShopForMsg extends Object
    {
        public var code:int;
        public var beginTime:Date;
        public var endTime:Date;
        public var leftSeconds:int;
        public var description:String;

        public function SPanicBuyShopForMsg()
        {
            
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.code);
            param1.writeDate(this.beginTime);
            param1.writeDate(this.endTime);
            param1.writeInt(this.leftSeconds);
            param1.writeString(this.description);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.code = param1.readInt();
            this.beginTime = param1.readDate();
            this.endTime = param1.readDate();
            this.leftSeconds = param1.readInt();
            this.description = param1.readString();
            
        }

    }
}
